<%-- 
    Document   : recebe_cadastro
    Created on : 11/09/2013, 20:01:31
    Author     : Bruno
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" language="java" import="java.sql.*, java.util.*"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <% 
            String nome = request.getParameter("nome"); 
            String sexo = request.getParameter("sexo"); 
            String email = request.getParameter("email"); 
            String senha = request.getParameter("senha");
            
            out.println(nome);
            out.println("<br>");
            out.println(sexo);
            out.println("<br>");
            out.println(email);
            out.println("<br>");
            out.println(senha);
            
            Dao dao = new Dao();
            out.println(dao.cadastrar());
        %>
    </body>
</html>
